$OpenBSD: patch-Source_cmMessenger_cxx,v 1.1 2016/11/28 09:15:13 dcoppa Exp $
--- Source/cmMessenger.cxx.orig	Fri Nov 25 23:06:59 2016
+++ Source/cmMessenger.cxx	Fri Nov 25 23:08:39 2016
@@ -68,7 +68,7 @@ static bool printMessagePreamble(cmake::MessageType t,
   if (t == cmake::FATAL_ERROR) {
     msg << "CMake Error";
   } else if (t == cmake::INTERNAL_ERROR) {
-    msg << "CMake Internal Error (please report a bug)";
+    msg << "CMake Internal Error";
   } else if (t == cmake::LOG) {
     msg << "CMake Debug Log";
   } else if (t == cmake::DEPRECATION_ERROR) {
@@ -107,19 +107,6 @@ void displayMessage(cmake::MessageType t, std::ostring
 
   // Add a terminating blank line.
   msg << "\n";
-
-#if defined(CMAKE_BUILD_WITH_CMAKE)
-  // Add a C++ stack trace to internal errors.
-  if (t == cmake::INTERNAL_ERROR) {
-    std::string stack = cmsys::SystemInformation::GetProgramStack(0, 0);
-    if (!stack.empty()) {
-      if (cmHasLiteralPrefix(stack, "WARNING:")) {
-        stack = "Note:" + stack.substr(8);
-      }
-      msg << stack << "\n";
-    }
-  }
-#endif
 
   // Output the message.
   if (t == cmake::FATAL_ERROR || t == cmake::INTERNAL_ERROR ||
